<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header" />
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}" />
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <form class="form-horizontal" th:object="${footClub}" method="post" th:action="@{/foot/footClub/edit}" name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <input type="hidden" name="id" th:field="*{id}" />
                <input type="hidden" name="sj" th:field="*{sj}" />
                <h3 class="header smaller lighter blue"><em class="icon-edit"></em>修改俱乐部</h3>
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="name">俱乐部名称:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{name}" name="name" id="name" class="input_fix" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('name')}" th:errors="*{name}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="qdId">球队名称:<span style="color:red">*</span></label>
                            <div class="controls">
                                <select th:field="*{qdId}" name="qdId" id="qdId" class="input_fix"> <option th:each="t:${qdList}" th:value="${t.qdId}" th:text="${t.qdmc}">123</option> </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('qdId')}" th:errors="*{qdId}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="cs">城市:</label>
                            <div class="controls">
                                <input type="text" th:field="*{cs}" name="cs" id="cs" class="input_fix" placeholder="城市" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('cs')}" th:errors="*{cs}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="clsj">成立时间:</label>
                            <div class="controls">
                                <input type="text" th:field="*{clsj}" name="clsj" id="clsj" class="input_fix2" placeholder="成立时间" />
                                <img onclick="WdatePicker({el:'clsj',dateFmt:'yyyy-MM-dd HH:mm'})" style="width:16px;height:22px" src="" alt="" th:src="@{/js/My97DatePicker/skin/datePicker.gif}" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('clsj')}" th:errors="*{clsj}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="qdjj">球队简介:</label>
                            <div class="controls">
                                <textarea name="qdjj" th:field="*{qdjj}" id="qdjj" class="input_fix" style="height:100px;" placeholder="球队简介"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('qdjj')}" th:errors="*{qdjj}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="zyjx">主要奖项:</label>
                            <div class="controls">
                                <textarea name="zyjx" th:field="*{zyjx}" id="zyjx" class="input_fix" style="height:100px;" placeholder="主要奖项"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('zyjx')}" th:errors="*{zyjx}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="bscc">比赛场次:</label>
                            <div class="controls">
                                <input type="text" th:field="*{bscc}" name="bscc" id="bscc" class="input_fix" placeholder="比赛场次" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('bscc')}" th:errors="*{bscc}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="s">胜:</label>
                            <div class="controls">
                                <input type="text" th:field="*{s}" name="s" id="s" class="input_fix" placeholder="胜" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('s')}" th:errors="*{s}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="p">平:</label>
                            <div class="controls">
                                <input type="text" th:field="*{p}" name="p" id="p" class="input_fix" placeholder="平" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('p')}" th:errors="*{p}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="f">负:</label>
                            <div class="controls">
                                <input type="text" th:field="*{f}" name="f" id="f" class="input_fix" placeholder="负" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('f')}" th:errors="*{f}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sl">胜率:</label>
                            <div class="controls">
                                <input type="text" th:field="*{sl}" name="sl" id="sl" class="input_fix" placeholder="胜率" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sl')}" th:errors="*{sl}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jq">进球:</label>
                            <div class="controls">
                                <input type="text" th:field="*{jq}" name="jq" id="jq" class="input_fix" placeholder="进球" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jq')}" th:errors="*{jq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sq">失球:</label>
                            <div class="controls">
                                <input type="text" th:field="*{sq}" name="sq" id="sq" class="input_fix" placeholder="失球" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sq')}" th:errors="*{sq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jsq">净胜球:</label>
                            <div class="controls">
                                <input type="text" th:field="*{jsq}" name="jsq" id="jsq" class="input_fix" placeholder="净胜球" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jsq')}" th:errors="*{jsq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jf">积分:</label>
                            <div class="controls">
                                <input type="text" th:field="*{jf}" name="jf" id="jf" class="input_fix" placeholder="积分" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jf')}" th:errors="*{jf}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="pm">排名:</label>
                            <div class="controls">
                                <input type="text" th:field="*{pm}" name="pm" id="pm" class="input_fix" placeholder="排名" />
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('pm')}" th:errors="*{pm}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="userId">所属玩家:</label>
                            <div class="controls">
                                <select th:field="*{userId}" name="userId" id="userId" class="input_fix"> <option th:each="t:${userList}" th:value="${t.id}" th:text="${t.nike + '(' + (null == t.gameId ? '无ID' : t.gameId) + ')'}">123</option> </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('userId')}" th:errors="*{userId}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="text-center span12">
                        <button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
                        <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
                        <a class="btn" type="button" th:href="@{/foot/footClub/search}"><em class="icon-arrow-left"></em>返回</a>
                    </div>
                </div>
            </form>
            <!--/#page-content-->
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/js"></div>
</body>
</html>